package de.le.mfw.client.main.service;

import com.google.gwt.user.client.rpc.AsyncCallback;

import de.le.mfw.shared.UserDTO;

public interface UserServiceAsync {

	void register(String nick, String email, String password,
			AsyncCallback<Void> callback);

	void login(String nick, String password, AsyncCallback<UserDTO> callback);

	void sendNewPassword(String nick, AsyncCallback<Void> callback);

	void changeEmail(UserDTO user, String newEmail, AsyncCallback<Void> callback);

	void changePassword(UserDTO user, String newPassword,
			AsyncCallback<Void> callback);
}
